\documentclass[brazil,12p,A4,openany,normaltoc,pnumromarab]{abnt}
\usepackage{paralist}
\usepackage{graphicx,url,subfigure}
\usepackage[brazil]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage[alf,bibjustif,abnt-etal-list=0]{abntcite}
\usepackage{alltt}
\usepackage{booktabs}
\usepackage{nomencl}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[left=3cm,top=3cm,right=2cm,bottom=2cm]{geometry}
\usepackage[nice]{nicefrac}

\usepackage{rotating}
\usepackage{multirow}

\usepackage{color}
\usepackage{caption}
\usepackage{listings}
\lstset{
  basicstyle=\footnotesize\ttfamily,
  stepnumber=1,
  numbersep=5pt,
  tabsize=2,
  extendedchars=true,
  breaklines=true,
  keywordstyle=\bfseries,
  showspaces=false,
  showtabs=false,
  xleftmargin=17pt,
  framexleftmargin=17pt,
  framexrightmargin=5pt,
  framexbottommargin=4pt,
  showstringspaces=false,
}
\lstloadlanguages{
  Tcl, C
}

\DeclareCaptionFont{black}{\color{black}}
\DeclareCaptionFormat{listing}{#1#2#3}
\captionsetup[lstlisting]{format=listing, textfont=black,
  }

\makeatletter

\newcommand{\up}[1]{\raisebox{1.5ex}[0pt]{#1}}
\input{variaveis.tex}

\renewcommand{\nomname}{Lista de Siglas}
\makenomenclature

\begin{document}

\baselineskip=.7cm

\thispagestyle{empty}
\input{capa.tex}
\thispagestyle{empty}
\input{folhaderosto.tex}
\thispagestyle{empty}
\input{assinaturas.tex}
\thispagestyle{empty}
\input{resumo.tex}
\thispagestyle{empty}
\input{abstract.tex}

\pagenumbering{roman}

\sumario
\listadefiguras
\listadetabelas
\printnomenclature[3cm]
\setcounter{page}{6} % XXX !!

\pagebreak

\pagenumbering{arabic}

\input{texto/introducao.tex}
\input{texto/compilacaodinamica.tex}
\input{texto/tcljit.tex}
\input{texto/avaliacao.tex}
\input{texto/conclusoes.tex}

\bibliographystyle{anbt-alfheng}
\bibliography{biblio}

\input{texto/apendice_source.tex}

\pagebreak

\input{capadefundo.tex}


\end{document}
